﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Equipment.Domain.Detectionmethod
{
    /// <summary>
    /// 常见缺陷
    /// </summary>
    public class Commondefect
    {
        /// <summary>
        /// 常见缺陷主键
        /// </summary>
        [Key]
        public int Commondefectid { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int Serialnumber { get; set; }

        /// <summary>
        /// 缺陷名称
        /// </summary>
        public string Defectname { get; set; } = string.Empty;

        /// <summary>
        /// 缺陷编码
        /// </summary>
        public string Defectencoding { get; set; } = string.Empty;

        /// <summary>
        /// 缺陷类型编号
        /// </summary>
        public int Defecttypeid { get; set; } 

        /// <summary>
        /// 缺陷位置编号
        /// </summary>
        public int Defectlocationid { get; set; } 

        /// <summary>
        /// 缺陷等级编号
        /// </summary>
        public int Defectgradeid { get; set; }
        /// <summary>
        /// 缺陷描述
        /// </summary>
        public string Defectdescription { get; set; } = string.Empty;

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdelete { get; set; }
    }
}
